var option = {
    "grid": {
        "left": 0,
        "right": 0,
         
    },
    "xAxis": {
        "type": "category",
        "show": false,
        "axisTick": {
            "show": false
        },
        "axisLabel": {
            "show": false
        }
    },
    "yAxis": {
        "type": "value",
        "splitLine": {
            "show": false
        },
        "axisLabel": {
            "show": false
        },
        "axisTick": {
            "show": false
        }
    },
    "series": [
        {
            "data": [
                "29",
                "30",
                "29",
                "27",
                "27",
                "27",
                "30",
                "26"
            ],
            "symbol": "circle",
            "type": "line",
            "label": {
                "show": true,
                "color": "rgba(255,255,255,0.9)",
                "fontSize": 12,
                "rich": {
                    "a": {
                        "fontSize": 15
                    }
                }
            },
            "lineStyle": {
                "width": 1,
                "color": "#FFFFFF"
            },
            "itemStyle": {
                "borderColor": "#FFFFFF",
                "borderWidth": 5,
                "color": ["#FFFFFF", "#ffd43a", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF"]
            }
        },
        {
            "data": [
                "24",
                "23",
                "22",
                "21",
                "24",
                "24",
                "23",
                "22"
            ],
            "symbol": "circle",
            "type": "line",
            "label": {
                "show": true,
                "color": "rgba(255,255,255,0.9)",
                "fontSize": 12,
                "rich": {
                    "a": {
                        "fontSize": 15
                    }
                }
            },
            "lineStyle": {
                "width": 1,
                "color": "#FFFFFF"
            },
            "itemStyle": {
                "borderColor": "#FFFFFF",
                "borderWidth": 5,
                "color": ["#FFFFFF", "#ffd43a", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF", "#FFFFFF"]
            }
        }
    ]
};
const initDayCharts = function(t, e, i, n) {
    let a = "3" === i ? "rgba(0, 0, 0, 0.22)" : "#FFFFFF"
      , _ = "3" === i ? "rgba(0, 0, 0, 1)" : "rgba(255,255,255,0.9)"
      , l = "3" === i ? "rgb(163, 208, 245)" : "#FFFFFF"
      , r = "3" === i ? "rgb(163, 208, 245)" : "rgb(255, 212, 58)"
      , s = n <= 414 ? 6 : n <= 525 ? 7 : n <= 739 ? 8 : n <= 999 ? 10 : 12
      , o = n <= 414 ? 1 : n <= 525 ? 1.5 : n <= 739 ? 2 : n <= 999 ? 3 : 3.5
      , c = n <= 414 ? 12 : n <= 525 ? 14 : n <= 739 ? 15 : n <= 999 ? 16 : 17;
    return {
        grid: {
            left: 0,
            right: 0,
            top: 0,
            bottom: 0
        },
        xAxis: {
            type: "category",
            show: !1,
            axisTick: {
                show: !1
            },
            axisLabel: {
                show: !1
            }
        },
        yAxis: {
            type: "value",
            splitLine: {
                show: !1
            },
            axisLabel: {
                show: !1
            },
            axisTick: {
                show: !1
            },
            max: function(t) {
                return t.max + 3
            },
            min: function(t) {
                return t.min - 3
            }
        },
        series: [{
            data: t,
            symbol: "circle",
            symbolSize: function(t, e) {
                return 1 === e.dataIndex ? s + 3 : s
            },
            type: "line",
            label: {
                show: !0,
                formatter: function(t) {
                    return 1 === t.dataIndex ? "{a|" + t.data + "°}" : t.data + "°"
                },
                color: _,
                fontSize: c,
                rich: {
                    a: {
                        fontSize: c + 3
                    }
                }
            },
            lineStyle: {
                width: o,
                color: a
            },
            itemStyle: {
                color: function(t) {
                    return 1 === t.dataIndex ? r : l
                },
                borderColor: l,
                borderWidth: 0
            }
        }, {
            data: e,
            symbol: "circle",
            symbolSize: function(t, e) {
                return 1 === e.dataIndex ? s + 3 : s
            },
            type: "line",
            label: {
                show: !0,
                formatter: function(t) {
                    return 1 === t.dataIndex ? "{a|" + t.data + "°}" : t.data + "°"
                },
                color: _,
                fontSize: c,
                rich: {
                    a: {
                        fontSize: c + 3
                    }
                }
            },
            lineStyle: {
                width: o,
                color: a
            },
            itemStyle: {
                color: function(t) {
                    return 1 === t.dataIndex ? r : l
                },
                borderColor: l,
                borderWidth: 0
            }
        }]
    }
}
export { option,initDayCharts}